BlueCielo Meridian Global Collaboration Framework 2012 SP1 Administrator's Guide | BlueCielo ECM Solutions

You are here: Updating custom GCF script to GCF 2012

Updating custom GCF script to GCF 2012

The following procedure is appropriate if a prior version of the GCF is installed, you have not customized the GCF VBScript code, and you want to update the existing code to work with GCF 2012. If you have already customized the GCF VBScript code and you want to integrate your custom code with the GCF 2012 VBScript code, see Integrating custom GCF script with GCF 2012.

Note    If the GcfEvents extension was registered as described in Registering the Meridian Enterprise extensions, unregister it before proceeding. For instructions, see theBlueCielo Meridian Enterprise Configuration Guide.

Note When performing this procedure, you might want to refer to the new GCF VBScript file <Setup>\Meridian\Configuration\MainScript_WithEvents.bas provided in the GCF 2012 distribution package.

To update the existing VBScript code of a vault, read what to change below and modify your custom script accordingly:

  1. In Meridian Enterprise Configurator, edit the vault's event procedures code as described in the BlueCielo Meridian Enterprise VBScript API Reference
  2. Remove the following function definitions:

GCFCallRemote

GCFInitiateTransfer

  1. Rename the following function definitions:
  1. Modify the following function definitions:

GCFCallRemote

MergeDelimitedStrings

GCFInitiateTransfer

GCFClearTransit

GCFDocumentStatus

GCFDocumentWpID

SetModifiedBy

GCFGetLog

GCFSetLog

SetLock

SetLockRemote

Replace the following line:

Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport")

with:

Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport")

Add the following new line before the line that reads Set to Nothing:

objGCFSupport.Dispose
  1. Modify the function GCFCallRemote:

Old line:

objGCFSupport.CallRemote3

New line:

objGCFSupport.CallRemote
  1. Modify the function GCFClearTransit:

Old line:

objGCFSupport.ClearInTransitMain(GlobalIDs, RemoteShare, bInWA)

New line:

objGCFSupport.ClearInTransit(GlobalIDs, RemoteShare)
  1. Remove the function OnTransferOwnershipScheduled. It is obsolete and not used anymore.
  2. Add a new function SetLockRemote using the following code:
Function SetLockRemote(LockID, Comment)
Dim objGCFSupport
Set objGCFSupport = AMCreateObject("BlueCieloECM.GcfSupport", False)
SetLockRemote = objGCFSupport.SetLockIDRemote(Document.ID, LockID, Comment)
objGCFSupport.Dispose
Set objGCFSupport = Nothing
End Function
  1. Click OK to save your changes.

Related concepts

Configuring with VBScript

Related tasks

Integrating custom GCF script with GCF 2012

Understanding common conflicts

Suppressing custom code during GCF operations

Controlling the GCF with VBScript

Hiding the Collaboration Status property page

Confirming deletion of documents

Replicating workflow logs


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com